<template>
  <component :is="currentComponent"></component>
</template>
<script lang="ts" setup>
import { type } from '@tauri-apps/plugin-os'
import windows from './windows.vue';
import android from './android.vue';
const currentComponent = type() === 'windows' ? windows : android
</script>
<style scoped lang="less"></style>